Produced by Araxis Merge on 2023-03-13 03:01:05 +0000. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | Porto v4.0.4/Porto Theme/app/design/frontend/Smartwave/porto/Magento_Checkout/web/css/source/module | _cart.less | 2022-11-03 08:01:17 +0000 |
| 2 | Porto v4.0.5/Porto Theme/app/design/frontend/Smartwave/porto/Magento_Checkout/web/css/source/module | _cart.less | 2022-11-03 08:01:17 +0000 |
| Description | Between Files 1 and 2 | |
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 1 | 1372 |
| Changed | 0 | 0 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | Consecutive whitespace is treated as a single space |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
| Active line-pairing rules |
No regular expressions were active.
| 1 | // /** | 1 | // /** | |||
| 2 | // * Copyright © 2015 Magento. All rights reserved. | 2 | // * Copyright © 2015 Magento. All rights reserved. | |||
| 3 | // * See COPYING.txt for license details. | 3 | // * See COPYING.txt for license details. | |||
| 4 | // */ | 4 | // */ | |||
| 5 | 5 | |||||
| 6 | @mobile-cart-padding: 15px; | 6 | @mobile-cart-padding: 15px; | |||
| 7 | @cart-price-color: @color-gray40; | 7 | @cart-price-color: @color-gray40; | |||
| 8 | @cart-item-cell-padding-top: 20px; | 8 | @cart-item-cell-padding-top: 20px; | |||
| 9 | // | 9 | // | |||
| 10 | // Common | 10 | // Common | |||
| 11 | // _____________________________________________ | 11 | // _____________________________________________ | |||
| 12 | 12 | |||||
| 13 | & when (@media-common = true) { | 13 | & when (@media-common = true) { | |||
| 14 | 14 | |||||
| 15 | // | 15 | // | |||
| 16 | // Shopping cart | 16 | // Shopping cart | |||
| 17 | // --------------------------------------------- | 17 | // --------------------------------------------- | |||
| 18 | 18 | |||||
| 19 | .checkout-cart-index { | 19 | .checkout-cart-index { | |||
| 20 | .page-title-wrapper { | 20 | .page-title-wrapper { | |||
| 21 | padding: 2rem 0; | 21 | padding: 2rem 0; | |||
| 22 | .page-title { | 22 | .page-title { | |||
| 23 | font-size: 1.25rem; | 23 | font-size: 1.25rem; | |||
| 24 | font-weight: 700; | 24 | font-weight: 700; | |||
| 25 | letter-spacing: -.03em; | 25 | letter-spacing: -.03em; | |||
| 26 | margin-bottom: 0; | 26 | margin-bottom: 0; | |||
| 27 | } | 27 | } | |||
| 28 | } | 28 | } | |||
| 29 | } | 29 | } | |||
| 30 | 30 | |||||
| 31 | // Cart container | 31 | // Cart container | |||
| 32 | .cart-container { | 32 | .cart-container { | |||
| 33 | .form-cart { | 33 | .form-cart { | |||
| 34 | &:extend(.abs-shopping-cart-items all); | 34 | &:extend(.abs-shopping-cart-items all); | |||
| 35 | } | 35 | } | |||
| 36 | } | 36 | } | |||
| 37 | 37 | |||||
| 38 | // Summary block | 38 | // Summary block | |||
| 39 | .cart-summary { | 39 | .cart-summary { | |||
| 40 | @border-color__base: #e7e7e7; | 40 | @border-color__base: #e7e7e7; | |||
| 41 | &:extend(.abs-add-box-sizing all); | 41 | &:extend(.abs-add-box-sizing all); | |||
| 42 | .lib-css(background, @sidebar__background-color); | 42 | .lib-css(background, @sidebar__background-color); | |||
| 43 | background: #fff; | 43 | background: #fff; | |||
| 44 | border-radius: 0; | 44 | border-radius: 0; | |||
| 45 | padding: 24px 30px; | 45 | padding: 24px 30px; | |||
| 46 | border: 2px solid #e7e7e7; | 46 | border: 2px solid #e7e7e7; | |||
| 47 | margin-bottom: 15px; | 47 | margin-bottom: 15px; | |||
| 48 | > .title { | 48 | > .title { | |||
| 49 | .lib-font-size(10); | 49 | .lib-font-size(10); | |||
| 50 | text-transform: uppercase; | 50 | text-transform: uppercase; | |||
| 51 | font-weight: 700; | 51 | font-weight: 700; | |||
| 52 | letter-spacing: -.01em; | 52 | letter-spacing: -.01em; | |||
| 53 | margin-bottom: 20px; | 53 | margin-bottom: 20px; | |||
| 54 | padding-bottom: 0.25rem; | 54 | padding-bottom: 0.25rem; | |||
| 55 | line-height: 19px; | 55 | line-height: 19px; | |||
| 56 | color: #222529; | 56 | color: #222529; | |||
| 57 | } | 57 | } | |||
| 58 | .block { | 58 | .block { | |||
| 59 | form:not(:last-of-type) { | 59 | form:not(:last-of-type) { | |||
| 60 | .fieldset { | 60 | .fieldset { | |||
| 61 | margin: 0 0 10px; | 61 | margin: 0 0 10px; | |||
| 62 | } | 62 | } | |||
| 63 | } | 63 | } | |||
| 64 | .price { | 64 | .price { | |||
| 65 | font-weight: @font-weight__bold; | 65 | font-weight: @font-weight__bold; | |||
| 66 | } | 66 | } | |||
| 67 | .field { | 67 | .field { | |||
| 68 | margin: 0 0 10px; | 68 | margin: 0 0 10px; | |||
| 69 | &.note { | 69 | &.note { | |||
| 70 | display: none; | 70 | display: none; | |||
| 71 | } | 71 | } | |||
| 72 | } | 72 | } | |||
| 73 | .actions-toolbar { | 73 | .actions-toolbar { | |||
| 74 | > .primary { | 74 | > .primary { | |||
| 75 | text-align: left; | 75 | text-align: left; | |||
| 76 | .action.primary { | 76 | .action.primary { | |||
| 77 | &:extend(.abs-revert-to-action-secondary all); | 77 | &:extend(.abs-revert-to-action-secondary all); | |||
| 78 | width: auto; | 78 | width: auto; | |||
| 79 | } | 79 | } | |||
| 80 | } | 80 | } | |||
| 81 | } | 81 | } | |||
| 82 | 82 | |||||
| 83 | .fieldset.estimate { | 83 | .fieldset.estimate { | |||
| 84 | > .legend, | 84 | > .legend, | |||
| 85 | > .legend + br { | 85 | > .legend + br { | |||
| 86 | &:extend(.abs-no-display all); | 86 | &:extend(.abs-no-display all); | |||
| 87 | } | 87 | } | |||
| 88 | } | 88 | } | |||
| 89 | &:extend(.abs-cart-block all); | 89 | &:extend(.abs-cart-block all); | |||
| 90 | .title { | 90 | .title { | |||
| 91 | border-color: @border-color__base; | 91 | border-color: @border-color__base; | |||
| 92 | padding-left: 10px; | 92 | padding-left: 10px; | |||
| 93 | &:after { | 93 | &:after { | |||
| 94 | right: 13px; | 94 | right: 13px; | |||
| 95 | } | 95 | } | |||
| 96 | strong { | 96 | strong { | |||
| 97 | letter-spacing: -.01em; | 97 | letter-spacing: -.01em; | |||
| 98 | font-size: 14px; | 98 | font-size: 14px; | |||
| 99 | font-weight: 600; | 99 | font-weight: 600; | |||
| 100 | } | 100 | } | |||
| 101 | } | 101 | } | |||
| 102 | .item-options { | 102 | .item-options { | |||
| 103 | margin: 0 0 9px; | 103 | margin: 0 0 9px; | |||
| 104 | .field { | 104 | .field { | |||
| 105 | .radio { | 105 | .radio { | |||
| 106 | float: left; | 106 | float: left; | |||
| 107 | margin-right: 8px; | 107 | margin-right: 8px; | |||
| 108 | } | 108 | } | |||
| 109 | .radio { | 109 | .radio { | |||
| 110 | + .label { | 110 | + .label { | |||
| 111 | display: block; | 111 | display: block; | |||
| 112 | margin: 0; | 112 | margin: 0; | |||
| 113 | overflow: hidden; | 113 | overflow: hidden; | |||
| 114 | font-weight: 400; | 114 | font-weight: 400; | |||
| 115 | line-height: 1.2; | 115 | line-height: 1.2; | |||
| 116 | } | 116 | } | |||
| 117 | } | 117 | } | |||
| 118 | } | 118 | } | |||
| 119 | } | 119 | } | |||
| 120 | } | 120 | } | |||
| 121 | .page-main & { | 121 | .page-main & { | |||
| 122 | .block { | 122 | .block { | |||
| 123 | margin-bottom: 0; | 123 | margin-bottom: 0; | |||
| 124 | } | 124 | } | |||
| 125 | } | 125 | } | |||
| 126 | .checkout-methods-items { | 126 | .checkout-methods-items { | |||
| 127 | &:extend(.abs-reset-list all); | 127 | &:extend(.abs-reset-list all); | |||
| 128 | margin: @indent__base 0 0; | 128 | margin: @indent__base 0 0; | |||
| 129 | text-align: center; | 129 | text-align: center; | |||
| 130 | .action.primary.checkout { | 130 | .action.primary.checkout { | |||
| 131 | &:extend(.abs-button-l all); | 131 | &:extend(.abs-button-l all); | |||
| 132 | width: 100%; | 132 | width: 100%; | |||
| 133 | font-size: 15px; | 133 | font-size: 15px; | |||
| 134 | letter-spacing: -.015em; | 134 | letter-spacing: -.015em; | |||
| 135 | color: #fff; | 135 | color: #fff; | |||
| 136 | background-color: #222529; | 136 | background-color: #222529; | |||
| 137 | border: none; | 137 | border: none; | |||
| 138 | &:hover { | 138 | &:hover { | |||
| 139 | background-color: #31373d; | 139 | background-color: #31373d; | |||
| 140 | } | 140 | } | |||
| 141 | &::after { | 141 | &::after { | |||
| 142 | content: '\e8c4'; | 142 | content: '\e8c4'; | |||
| 143 | font-family: 'porto-icons'; | 143 | font-family: 'porto-icons'; | |||
| 144 | padding-left: 1rem; | 144 | padding-left: 1rem; | |||
| 145 | } | 145 | } | |||
| 146 | } | 146 | } | |||
| 147 | .item { | 147 | .item { | |||
| 148 | margin-bottom: @indent__m; | 148 | margin-bottom: @indent__m; | |||
| 149 | &:last-child { | 149 | &:last-child { | |||
| 150 | margin-bottom: 0; | 150 | margin-bottom: 0; | |||
| 151 | } | 151 | } | |||
| 152 | } | 152 | } | |||
| 153 | } | 153 | } | |||
| 154 | .message { | 154 | .message { | |||
| 155 | padding-left: @indent__base; | 155 | padding-left: @indent__base; | |||
| 156 | > *:first-child:before { | 156 | > *:first-child:before { | |||
| 157 | display: none; | 157 | display: none; | |||
| 158 | } | 158 | } | |||
| 159 | } | 159 | } | |||
| 160 | &:extend(.abs-adjustment-incl-excl-tax all); | 160 | &:extend(.abs-adjustment-incl-excl-tax all); | |||
| 161 | } | 161 | } | |||
| 162 | 162 | |||||
| 163 | // Totals block | 163 | // Totals block | |||
| 164 | .cart-totals { | 164 | .cart-totals { | |||
| 165 | @border-color__base: #e7e7e7; | 165 | @border-color__base: #e7e7e7; | |||
| 166 | font-size: 13px; | 166 | font-size: 13px; | |||
| 167 | padding: 0; | 167 | padding: 0; | |||
| 168 | &:extend(.abs-sidebar-totals all); | 168 | &:extend(.abs-sidebar-totals all); | |||
| 169 | border-color: @border-color__base; | 169 | border-color: @border-color__base; | |||
| 170 | tbody, | 170 | tbody, | |||
| 171 | tfoot { | 171 | tfoot { | |||
| 172 | .mark,.amount { | 172 | .mark,.amount { | |||
| 173 | padding: 5px 10px; | 173 | padding: 5px 10px; | |||
| 174 | } | 174 | } | |||
| 175 | .grand.totals { | 175 | .grand.totals { | |||
| 176 | .amount,.mark { | 176 | .amount,.mark { | |||
| 177 | border-color: @border-color__base; | 177 | border-color: @border-color__base; | |||
| 178 | } | 178 | } | |||
| 179 | .mark { | 179 | .mark { | |||
| 180 | text-align: left; | 180 | text-align: left; | |||
| 181 | padding: 18px 12px; | 181 | padding: 18px 12px; | |||
| 182 | font-size: 1rem; | 182 | font-size: 1rem; | |||
| 183 | letter-spacing: -.01em; | 183 | letter-spacing: -.01em; | |||
| 184 | font-weight: 600; | 184 | font-weight: 600; | |||
| 185 | color: #222529; | 185 | color: #222529; | |||
| 186 | line-height: 19px; | 186 | line-height: 19px; | |||
| 187 | } | 187 | } | |||
| 188 | .amount { | 188 | .amount { | |||
| 189 | color: #222529; | 189 | color: #222529; | |||
| 190 | text-align: right; | 190 | text-align: right; | |||
| 191 | font-weight: 700; | 191 | font-weight: 700; | |||
| 192 | font-size: 22px; | 192 | font-size: 22px; | |||
| 193 | padding: 10px; | 193 | padding: 10px; | |||
| 194 | line-height: 1.4; | 194 | line-height: 1.4; | |||
| 195 | } | 195 | } | |||
| 196 | strong { | 196 | strong { | |||
| 197 | margin: 0; | 197 | margin: 0; | |||
| 198 | font-weight: inherit; | 198 | font-weight: inherit; | |||
| 199 | line-height: inherit; | 199 | line-height: inherit; | |||
| 200 | padding: 0; | 200 | padding: 0; | |||
| 201 | } | 201 | } | |||
| 202 | } | 202 | } | |||
| 203 | } | 203 | } | |||
| 204 | } | 204 | } | |||
| 205 | 205 | |||||
| 206 | // Products table | 206 | // Products table | |||
| 207 | .cart { | 207 | .cart { | |||
| 208 | @border-color__base: #e7e7e7; | 208 | @border-color__base: #e7e7e7; | |||
| 209 | &.table-wrapper { | 209 | &.table-wrapper { | |||
| 210 | .product-item-name > a { | 210 | .product-item-name > a { | |||
| 211 | font-size: 14px; | 211 | font-size: 14px; | |||
| 212 | font-weight: 500; | 212 | font-weight: 500; | |||
| 213 | margin-bottom: 0; | 213 | margin-bottom: 0; | |||
| 214 | white-space: normal; | 214 | white-space: normal; | |||
| 215 | &, &:hover { | 215 | &, &:hover { | |||
| 216 | color: #222529; | 216 | color: #222529; | |||
| 217 | } | 217 | } | |||
| 218 | } | 218 | } | |||
| 219 | .product-image-container { | 219 | .product-image-container { | |||
| 220 | background: none; | 220 | background: none; | |||
| 221 | display: block; | 221 | display: block; | |||
| 222 | } | 222 | } | |||
| 223 | .cart { | 223 | .cart { | |||
| 224 | thead { | 224 | thead { | |||
| 225 | tr th.col { | 225 | tr th.col { | |||
| 226 | border-bottom: @border-width__base solid @border-color__base; | 226 | border-bottom: @border-width__base solid @border-color__base; | |||
| 227 | padding: 10px; | 227 | padding: 10px; | |||
| 228 | font-size: 14px; | 228 | font-size: 14px; | |||
| 229 | font-weight: 600; | 229 | font-weight: 600; | |||
| 230 | color: #212529; | 230 | color: #212529; | |||
| 231 | text-transform: uppercase; | 231 | text-transform: uppercase; | |||
| 232 | text-align: left; | 232 | text-align: left; | |||
| 233 | &.subtotal { | 233 | &.subtotal { | |||
| 234 | text-align: right; | 234 | text-align: right; | |||
| 235 | } | 235 | } | |||
| 236 | } | 236 | } | |||
| 237 | } | 237 | } | |||
| 238 | tbody { | 238 | tbody { | |||
| 239 | td { | 239 | td { | |||
| 240 | border: 0; | 240 | border: 0; | |||
| 241 | } | 241 | } | |||
| 242 | } | 242 | } | |||
| 243 | > .item { | 243 | > .item { | |||
| 244 | border-bottom: @border-width__base solid @border-color__base; | 244 | border-bottom: @border-width__base solid @border-color__base; | |||
| 245 | position: relative; | 245 | position: relative; | |||
| 246 | } | 246 | } | |||
| 247 | } | 247 | } | |||
| 248 | .col { | 248 | .col { | |||
| 249 | vertical-align: middle; | 249 | vertical-align: middle; | |||
| 250 | &.price, | 250 | &.price, | |||
| 251 | &.subtotal, | 251 | &.subtotal, | |||
| 252 | &.msrp { | 252 | &.msrp { | |||
| 253 | font-size: 14px; | 253 | font-size: 14px; | |||
| 254 | text-align: left; | 254 | text-align: left; | |||
| 255 | .price { | 255 | .price { | |||
| 256 | font-size: 14px; | 256 | font-size: 14px; | |||
| 257 | font-weight: inherit; | 257 | font-weight: inherit; | |||
| 258 | } | 258 | } | |||
| 259 | } | 259 | } | |||
| 260 | &.subtotal { | 260 | &.subtotal { | |||
| 261 | text-align: right; | 261 | text-align: right; | |||
| 262 | .price { | 262 | .price { | |||
| 263 | color: #222529 !important; | 263 | color: #222529 !important; | |||
| 264 | font-size: 16px; | 264 | font-size: 16px; | |||
| 265 | font-weight: 600 !important; | 265 | font-weight: 600 !important; | |||
| 266 | } | 266 | } | |||
| 267 | } | 267 | } | |||
| 268 | &.qty { | 268 | &.qty { | |||
| 269 | text-align: left; | 269 | text-align: left; | |||
| 270 | .label { | 270 | .label { | |||
| 271 | &:extend(.abs-visually-hidden all); | 271 | &:extend(.abs-visually-hidden all); | |||
| 272 | } | 272 | } | |||
| 273 | .field.qty { | 273 | .field.qty { | |||
| 274 | position: relative; | 274 | position: relative; | |||
| 275 | display: inline-block; | 275 | display: inline-block; | |||
| 276 | } | 276 | } | |||
| 277 | } | 277 | } | |||
| 278 | > .price { | 278 | > .price { | |||
| 279 | .lib-font-size(10); | 279 | .lib-font-size(10); | |||
| 280 | } | 280 | } | |||
| 281 | } | 281 | } | |||
| 282 | 282 | |||||
| 283 | .item-actions { | 283 | .item-actions { | |||
| 284 | td { | 284 | td { | |||
| 285 | padding-bottom: 0; | 285 | padding-bottom: 0; | |||
| 286 | padding-left: @mobile-cart-padding; | 286 | padding-left: @mobile-cart-padding; | |||
| 287 | padding-right: @mobile-cart-padding; | 287 | padding-right: @mobile-cart-padding; | |||
| 288 | white-space: normal; | 288 | white-space: normal; | |||
| 289 | } | 289 | } | |||
| 290 | } | 290 | } | |||
| 291 | .item { | 291 | .item { | |||
| 292 | .col.item { | 292 | .col.item { | |||
| 293 | display: block; | 293 | display: block; | |||
| 294 | min-height: 75px; | 294 | min-height: 75px; | |||
| 295 | padding: 20px 10px; | 295 | padding: 20px 10px; | |||
| 296 | position: relative; | 296 | position: relative; | |||
| 297 | } | 297 | } | |||
| 298 | } | 298 | } | |||
| 299 | 299 | |||||
| 300 | .actions-toolbar { | 300 | .actions-toolbar { | |||
| 301 | &:extend(.abs-add-clearfix all); | 301 | &:extend(.abs-add-clearfix all); | |||
| 302 | min-height: 20px; | 302 | min-height: 20px; | |||
| 303 | padding-bottom: 30px; | 303 | padding-bottom: 30px; | |||
| 304 | position: relative; | 304 | position: relative; | |||
| 305 | > .action-edit, | 305 | > .action-edit, | |||
| 306 | > .action-delete { | 306 | > .action-delete { | |||
| 307 | position: absolute; | 307 | position: absolute; | |||
| 308 | right: 16px; | 308 | right: 16px; | |||
| 309 | top: 0; | 309 | top: 0; | |||
| 310 | .lib-icon-font( | 310 | .lib-icon-font( | |||
| 311 | @icon-edit, | 311 | @icon-edit, | |||
| 312 | @_icon-font-size: 18px, | 312 | @_icon-font-size: 18px, | |||
| 313 | @_icon-font-line-height: 20px, | 313 | @_icon-font-line-height: 20px, | |||
| 314 | @_icon-font-text-hide: true, | 314 | @_icon-font-text-hide: true, | |||
| 315 | @_icon-font-color: #222529, | 315 | @_icon-font-color: #222529, | |||
| 316 | @_icon-font-color-hover: @primary__color, | 316 | @_icon-font-color-hover: @primary__color, | |||
| 317 | @_icon-font-color-active: @minicart-icons-color | 317 | @_icon-font-color-active: @minicart-icons-color | |||
| 318 | ); | 318 | ); | |||
| 319 | } | 319 | } | |||
| 320 | > .action-delete { | 320 | > .action-delete { | |||
| 321 | &:extend(.abs-action-button-as-link all); | 321 | &:extend(.abs-action-button-as-link all); | |||
| 322 | right: 0; | 322 | right: 0; | |||
| 323 | .lib-icon-font-symbol( | 323 | .lib-icon-font-symbol( | |||
| 324 | @_icon-font-content: @icon-trash | 324 | @_icon-font-content: @icon-trash | |||
| 325 | ); | 325 | ); | |||
| 326 | } | 326 | } | |||
| 327 | } | 327 | } | |||
| 328 | .action { | 328 | .action { | |||
| 329 | margin-right: 15px; | 329 | margin-right: 15px; | |||
| 330 | &:last-child { | 330 | &:last-child { | |||
| 331 | margin-right: 0; | 331 | margin-right: 0; | |||
| 332 | } | 332 | } | |||
| 333 | &.help.map { | 333 | &.help.map { | |||
| 334 | &:extend(.abs-action-button-as-link all); | 334 | &:extend(.abs-action-button-as-link all); | |||
| 335 | font-weight: @font-weight__regular; | 335 | font-weight: @font-weight__regular; | |||
| 336 | } | 336 | } | |||
| 337 | } | 337 | } | |||
| 338 | 338 | |||||
| 339 | .product { | 339 | .product { | |||
| 340 | &-item-photo { | 340 | &-item-photo { | |||
| 341 | display: block; | 341 | display: block; | |||
| 342 | left: @mobile-cart-padding; | 342 | left: @mobile-cart-padding; | |||
| 343 | max-width: 80px; | 343 | max-width: 80px; | |||
| 344 | padding: 0; | 344 | padding: 0; | |||
| 345 | position: absolute; | 345 | position: absolute; | |||
| 346 | top: 15px; | 346 | top: 15px; | |||
| 347 | width: 100%; | 347 | width: 100%; | |||
| 348 | border: 0; | 348 | border: 0; | |||
| 349 | border-radius: 0; | 349 | border-radius: 0; | |||
| 350 | &:hover { | 350 | &:hover { | |||
| 351 | box-shadow: none; | 351 | box-shadow: none; | |||
| 352 | } | 352 | } | |||
| 353 | } | 353 | } | |||
| 354 | &-item-name { | 354 | &-item-name { | |||
| 355 | .lib-font-size(10); | 355 | .lib-font-size(10); | |||
| 356 | display: block; | 356 | display: block; | |||
| 357 | margin: 0; | 357 | margin: 0; | |||
| 358 | margin-top: 0; | 358 | margin-top: 0; | |||
| 359 | } | 359 | } | |||
| 360 | } | 360 | } | |||
| 361 | .gift-registry-name-label { | 361 | .gift-registry-name-label { | |||
| 362 | &:after { | 362 | &:after { | |||
| 363 | content: ':'; | 363 | content: ':'; | |||
| 364 | } | 364 | } | |||
| 365 | } | 365 | } | |||
| 366 | 366 | |||||
| 367 | // Product options | 367 | // Product options | |||
| 368 | .item-options { | 368 | .item-options { | |||
| 369 | margin-bottom: 0; | 369 | margin-bottom: 0; | |||
| 370 | &:extend(.abs-product-options-list all); | 370 | &:extend(.abs-product-options-list all); | |||
| 371 | &:extend(.abs-add-clearfix all); | 371 | &:extend(.abs-add-clearfix all); | |||
| 372 | } | 372 | } | |||
| 373 | 373 | |||||
| 374 | .product-item-name + .item-options { | 374 | .product-item-name + .item-options { | |||
| 375 | margin-top: 8px; | 375 | margin-top: 8px; | |||
| 376 | } | 376 | } | |||
| 377 | 377 | |||||
| 378 | .cart-tax-total { | 378 | .cart-tax-total { | |||
| 379 | &:extend(.abs-tax-total all); | 379 | &:extend(.abs-tax-total all); | |||
| 380 | &-expanded { | 380 | &-expanded { | |||
| 381 | &:extend(.abs-tax-total-expanded all); | 381 | &:extend(.abs-tax-total-expanded all); | |||
| 382 | } | 382 | } | |||
| 383 | } | 383 | } | |||
| 384 | .product-image-wrapper { | 384 | .product-image-wrapper { | |||
| 385 | &:extend(.abs-reset-image-wrapper all); | 385 | &:extend(.abs-reset-image-wrapper all); | |||
| 386 | } | 386 | } | |||
| 387 | .action.configure { | 387 | .action.configure { | |||
| 388 | display: inline-block; | 388 | display: inline-block; | |||
| 389 | margin: @indent__s 0 0; | 389 | margin: @indent__s 0 0; | |||
| 390 | } | 390 | } | |||
| 391 | .item .message { | 391 | .item .message { | |||
| 392 | margin-top: @indent__base; | 392 | margin-top: @indent__base; | |||
| 393 | } | 393 | } | |||
| 394 | } | 394 | } | |||
| 395 | &.actions { | 395 | &.actions { | |||
| 396 | &:extend(.abs-action-cart-button all); | 396 | &:extend(.abs-action-cart-button all); | |||
| 397 | } | 397 | } | |||
| 398 | } | 398 | } | |||
| 399 | 399 | |||||
| 400 | // Discount | 400 | // Discount | |||
| 401 | .cart-discount { | 401 | .cart-discount { | |||
| 402 | border-bottom: @border-width__base solid @border-color__base; | 402 | border-bottom: @border-width__base solid @border-color__base; | |||
| 403 | clear: left; | 403 | clear: left; | |||
| 404 | &:extend(.abs-discount-block all); | 404 | &:extend(.abs-discount-block all); | |||
| 405 | margin-top: -60px; | 405 | margin-top: -60px; | |||
| 406 | .block > .title { | 406 | .block > .title { | |||
| 407 | display: none; | 407 | display: none; | |||
| 408 | } | 408 | } | |||
| 409 | .actions-toolbar { | 409 | .actions-toolbar { | |||
| 410 | &:extend(.abs-action-cart-button all); | 410 | &:extend(.abs-action-cart-button all); | |||
| 411 | } | 411 | } | |||
| 412 | } | 412 | } | |||
| 413 | 413 | |||||
| 414 | // Empty cart | 414 | // Empty cart | |||
| 415 | .cart-empty { | 415 | .cart-empty { | |||
| 416 | padding-left: 10px; | 416 | padding-left: 10px; | |||
| 417 | padding-right: 10px; | 417 | padding-right: 10px; | |||
| 418 | } | 418 | } | |||
| 419 | 419 | |||||
| 420 | .cart-tax-info + .cart-tax-total { | 420 | .cart-tax-info + .cart-tax-total { | |||
| 421 | display: block; | 421 | display: block; | |||
| 422 | } | 422 | } | |||
| 423 | } | 423 | } | |||
| 424 | 424 | |||||
| 425 | // | 425 | // | |||
| 426 | // Mobile | 426 | // Mobile | |||
| 427 | // _____________________________________________ | 427 | // _____________________________________________ | |||
| 428 | 428 | |||||
| 429 | .media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__s) { | 429 | .media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__s) { | |||
| 430 | .cart { | 430 | .cart { | |||
| 431 | .table.items { | 431 | .table.items { | |||
| 432 | .col.item, | 432 | .col.item, | |||
| 433 | .item-actions td { | 433 | .item-actions td { | |||
| 434 | &:extend(.abs-col-no-prefix all); | 434 | &:extend(.abs-col-no-prefix all); | |||
| 435 | } | 435 | } | |||
| 436 | .col.qty { | 436 | .col.qty { | |||
| 437 | text-align: center; | 437 | text-align: center; | |||
| 438 | } | 438 | } | |||
| 439 | tbody > tr > td:last-child { | 439 | tbody > tr > td:last-child { | |||
| 440 | &:extend(.abs-no-border-bottom-top all); | 440 | &:extend(.abs-no-border-bottom-top all); | |||
| 441 | } | 441 | } | |||
| 442 | } | 442 | } | |||
| 443 | } | 443 | } | |||
| 444 | .cart-totals { | 444 | .cart-totals { | |||
| 445 | .totals { | 445 | .totals { | |||
| 446 | &:extend(.abs-sidebar-totals-mobile all); | 446 | &:extend(.abs-sidebar-totals-mobile all); | |||
| 447 | } | 447 | } | |||
| 448 | } | 448 | } | |||
| 449 | } | 449 | } | |||
| 450 | 450 | |||||
| 451 | .media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) { | 451 | .media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) { | |||
| 452 | // Cart container | 452 | // Cart container | |||
| 453 | @border-color__base: #e7e7e7; | 453 | @border-color__base: #e7e7e7; | |||
| 454 | .cart-container { | 454 | .cart-container { | |||
| 455 | .form-cart { | 455 | .form-cart { | |||
| 456 | .actions.main { | 456 | .actions.main { | |||
| 457 | text-align: center; | 457 | text-align: center; | |||
| 458 | } | 458 | } | |||
| 459 | } | 459 | } | |||
| 460 | } | 460 | } | |||
| 461 | 461 | |||||
| 462 | .cart-discount { | 462 | .cart-discount { | |||
| 463 | border-bottom: @border-width__base solid @border-color__base; | 463 | border-bottom: @border-width__base solid @border-color__base; | |||
| 464 | margin-top: 0; | 464 | margin-top: 0; | |||
| 465 | } | 465 | } | |||
| 466 | 466 | |||||
| 467 | .cart { | 467 | .cart { | |||
| 468 | &.table-wrapper { | 468 | &.table-wrapper { | |||
| 469 | border-top: @border-width__base solid @border-color__base; | 469 | border-top: @border-width__base solid @border-color__base; | |||
| 470 | thead { | 470 | thead { | |||
| 471 | .col { | 471 | .col { | |||
| 472 | &.item, | 472 | &.item, | |||
| 473 | &.qty, | 473 | &.qty, | |||
| 474 | &.price, | 474 | &.price, | |||
| 475 | &.subtotal, | 475 | &.subtotal, | |||
| 476 | &.msrp { | 476 | &.msrp { | |||
| 477 | display: none; | 477 | display: none; | |||
| 478 | } | 478 | } | |||
| 479 | } | 479 | } | |||
| 480 | } | 480 | } | |||
| 481 | .col { | 481 | .col { | |||
| 482 | &.item, | 482 | &.item, | |||
| 483 | &.qty, | 483 | &.qty, | |||
| 484 | &.price, | 484 | &.price, | |||
| 485 | &.subtotal, | 485 | &.subtotal, | |||
| 486 | &.msrp { | 486 | &.msrp { | |||
| 487 | box-sizing: border-box; | 487 | box-sizing: border-box; | |||
| 488 | display: block; | 488 | display: block; | |||
| 489 | float: none; | 489 | float: none; | |||
| 490 | white-space: nowrap; | 490 | white-space: nowrap; | |||
| 491 | width: 100%; | 491 | width: 100%; | |||
| 492 | text-align: center; | 492 | text-align: center; | |||
| 493 | &:before { | 493 | &:before { | |||
| 494 | content: attr(data-th); | 494 | content: attr(data-th); | |||
| 495 | display: block; | 495 | display: block; | |||
| 496 | font-weight: @font-weight__semibold; | 496 | font-weight: @font-weight__semibold; | |||
| 497 | padding-bottom: 10px; | 497 | padding-bottom: 10px; | |||
| 498 | } | 498 | } | |||
| 499 | } | 499 | } | |||
| 500 | &.msrp { | 500 | &.msrp { | |||
| 501 | white-space: normal; | 501 | white-space: normal; | |||
| 502 | } | 502 | } | |||
| 503 | } | 503 | } | |||
| 504 | .item .col.item { | 504 | .item .col.item { | |||
| 505 | padding-bottom: 0; | 505 | padding-bottom: 0; | |||
| 506 | } | 506 | } | |||
| 507 | tbody > tr > td:last-child { | 507 | tbody > tr > td:last-child { | |||
| 508 | border: 0; | 508 | border: 0; | |||
| 509 | } | 509 | } | |||
| 510 | .product-item-photo { | 510 | .product-item-photo { | |||
| 511 | position: relative; | 511 | position: relative; | |||
| 512 | left: 0; | 512 | left: 0; | |||
| 513 | top: 0; | 513 | top: 0; | |||
| 514 | margin: 0 auto 10px; | 514 | margin: 0 auto 10px; | |||
| 515 | min-height: auto; | 515 | min-height: auto; | |||
| 516 | } | 516 | } | |||
| 517 | .product-item-name + .item-options { | 517 | .product-item-name + .item-options { | |||
| 518 | margin-top: 0; | 518 | margin-top: 0; | |||
| 519 | text-align: center; | 519 | text-align: center; | |||
| 520 | display: inline-block; | 520 | display: inline-block; | |||
| 521 | } | 521 | } | |||
| 522 | .product-item-details { | 522 | .product-item-details { | |||
| 523 | text-align: center; | 523 | text-align: center; | |||
| 524 | } | 524 | } | |||
| 525 | } | 525 | } | |||
| 526 | } | 526 | } | |||
| 527 | 527 | |||||
| 528 | .cart-totals { | 528 | .cart-totals { | |||
| 529 | .table-wrapper { | 529 | .table-wrapper { | |||
| 530 | border-top: 0; | 530 | border-top: 0; | |||
| 531 | } | 531 | } | |||
| 532 | .totals { | 532 | .totals { | |||
| 533 | tbody > tr:not(:last-child) > td:last-child { | 533 | tbody > tr:not(:last-child) > td:last-child { | |||
| 534 | border: 0; | 534 | border: 0; | |||
| 535 | } | 535 | } | |||
| 536 | } | 536 | } | |||
| 537 | } | 537 | } | |||
| 538 | } | 538 | } | |||
| 539 | 539 | |||||
| 540 | // | 540 | // | |||
| 541 | // Common | 541 | // Common | |||
| 542 | // _____________________________________________ | 542 | // _____________________________________________ | |||
| 543 | 543 | |||||
| 544 | & when (@media-common = true) { | 544 | & when (@media-common = true) { | |||
| 545 | // Cross sell | 545 | // Cross sell | |||
| 546 | .block { | 546 | .block { | |||
| 547 | &.crosssell { | 547 | &.crosssell { | |||
| 548 | .lib-css(padding, 0 @mobile-cart-padding); | 548 | .lib-css(padding, 0 @mobile-cart-padding); | |||
| 549 | margin-top: 70px; | 549 | margin-top: 70px; | |||
| 550 | .product-item-info { | 550 | .product-item-info { | |||
| 551 | width: 200px; | 551 | width: 200px; | |||
| 552 | } | 552 | } | |||
| 553 | } | 553 | } | |||
| 554 | } | 554 | } | |||
| 555 | } | 555 | } | |||
| 556 | 556 | |||||
| 557 | // | 557 | // | |||
| 558 | // Desktop | 558 | // Desktop | |||
| 559 | // _____________________________________________ | 559 | // _____________________________________________ | |||
| 560 | 560 | |||||
| 561 | .media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) { | 561 | .media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) { | |||
| 562 | .checkout-cart-index { | 562 | .checkout-cart-index { | |||
| 563 | .page-main { | 563 | .page-main { | |||
| 564 | padding-left: 10px; | 564 | padding-left: 10px; | |||
| 565 | padding-right: 10px; | 565 | padding-right: 10px; | |||
| 566 | } | 566 | } | |||
| 567 | .page-title-wrapper { | 567 | .page-title-wrapper { | |||
| 568 | &:extend(.abs-revert-side-paddings all); | 568 | &:extend(.abs-revert-side-paddings all); | |||
| 569 | } | 569 | } | |||
| 570 | } | 570 | } | |||
| 571 | 571 | |||||
| 572 | // Cart container | 572 | // Cart container | |||
| 573 | .cart-container { | 573 | .cart-container { | |||
| 574 | &:extend(.abs-add-clearfix-desktop all); | 574 | &:extend(.abs-add-clearfix-desktop all); | |||
| 575 | .form-cart { | 575 | .form-cart { | |||
| 576 | &:extend(.abs-shopping-cart-items-desktop all); | 576 | &:extend(.abs-shopping-cart-items-desktop all); | |||
| 577 | .actions.main { | 577 | .actions.main { | |||
| 578 | text-align: right; | 578 | text-align: right; | |||
| 579 | } | 579 | } | |||
| 580 | } | 580 | } | |||
| 581 | .widget { | 581 | .widget { | |||
| 582 | float: left; | 582 | float: left; | |||
| 583 | } | 583 | } | |||
| 584 | } | 584 | } | |||
| 585 | 585 | |||||
| 586 | // Summary block | 586 | // Summary block | |||
| 587 | .cart-summary { | 587 | .cart-summary { | |||
| 588 | .lib-layout-column(2, 2, @layout-column-checkout__width-left); | 588 | .lib-layout-column(2, 2, @layout-column-checkout__width-left); | |||
| 589 | padding: 24px 30px; | 589 | padding: 24px 30px; | |||
| 590 | > .title { | 590 | > .title { | |||
| 591 | display: block; | 591 | display: block; | |||
| 592 | } | 592 | } | |||
| 593 | .fieldset { | 593 | .fieldset { | |||
| 594 | .actions-toolbar { | 594 | .actions-toolbar { | |||
| 595 | margin-left: 0; | 595 | margin-left: 0; | |||
| 596 | > .secondary { | 596 | > .secondary { | |||
| 597 | float: none; | 597 | float: none; | |||
| 598 | } | 598 | } | |||
| 599 | } | 599 | } | |||
| 600 | } | 600 | } | |||
| 601 | .block { | 601 | .block { | |||
| 602 | .content { | 602 | .content { | |||
| 603 | padding-left: 10px; | 603 | padding-left: 10px; | |||
| 604 | padding-right: 10px; | 604 | padding-right: 10px; | |||
| 605 | } | 605 | } | |||
| 606 | .fieldset { | 606 | .fieldset { | |||
| 607 | .field { | 607 | .field { | |||
| 608 | .lib-form-field-type-revert(@_type: block); | 608 | .lib-form-field-type-revert(@_type: block); | |||
| 609 | margin: 0 0 @indent__s; | 609 | margin: 0 0 @indent__s; | |||
| 610 | } | 610 | } | |||
| 611 | } | 611 | } | |||
| 612 | } | 612 | } | |||
| 613 | .checkout-methods-items { | 613 | .checkout-methods-items { | |||
| 614 | padding: 0; | 614 | padding: 0; | |||
| 615 | } | 615 | } | |||
| 616 | } | 616 | } | |||
| 617 | 617 | |||||
| 618 | // Products table | 618 | // Products table | |||
| 619 | .cart { | 619 | .cart { | |||
| 620 | &.table-wrapper { | 620 | &.table-wrapper { | |||
| 621 | .items { // Google Chrome version 44.0.2403.107 m fix | 621 | .items { // Google Chrome version 44.0.2403.107 m fix | |||
| 622 | min-width: 100%; | 622 | min-width: 100%; | |||
| 623 | width: auto; | 623 | width: auto; | |||
| 624 | } | 624 | } | |||
| 625 | tbody td { | 625 | tbody td { | |||
| 626 | padding-top: @cart-item-cell-padding-top; | 626 | padding-top: @cart-item-cell-padding-top; | |||
| 627 | } | 627 | } | |||
| 628 | 628 | |||||
| 629 | .item { | 629 | .item { | |||
| 630 | .col.item { | 630 | .col.item { | |||
| 631 | padding: 20px 10px; | 631 | padding: 20px 10px; | |||
| 632 | } | 632 | } | |||
| 633 | } | 633 | } | |||
| 634 | 634 | |||||
| 635 | .item-actions td { | 635 | .item-actions td { | |||
| 636 | padding: 0; | 636 | padding: 0; | |||
| 637 | } | 637 | } | |||
| 638 | 638 | |||||
| 639 | .product { | 639 | .product { | |||
| 640 | &-item-photo { | 640 | &-item-photo { | |||
| 641 | display: table-cell; | 641 | display: table-cell; | |||
| 642 | max-width: 98px; | 642 | max-width: 98px; | |||
| 643 | padding-right: @indent__base; | 643 | padding-right: @indent__base; | |||
| 644 | position: static; | 644 | position: static; | |||
| 645 | vertical-align: middle; | 645 | vertical-align: middle; | |||
| 646 | width: 1%; | 646 | width: 1%; | |||
| 647 | } | 647 | } | |||
| 648 | &-item-details { | 648 | &-item-details { | |||
| 649 | 649 | |||||
| 650 | } | 650 | } | |||
| 651 | &-item-details { | 651 | &-item-details { | |||
| 652 | display: table-cell; | 652 | display: table-cell; | |||
| 653 | vertical-align: middle; | 653 | vertical-align: middle; | |||
| 654 | white-space: normal; | 654 | white-space: normal; | |||
| 655 | width: 99%; | 655 | width: 99%; | |||
| 656 | } | 656 | } | |||
| 657 | } | 657 | } | |||
| 658 | } | 658 | } | |||
| 659 | } | 659 | } | |||
| 660 | 660 | |||||
| 661 | // Discount | 661 | // Discount | |||
| 662 | .cart-discount { | 662 | .cart-discount { | |||
| 663 | &:extend(.abs-discount-block-desktop all); | 663 | &:extend(.abs-discount-block-desktop all); | |||
| 664 | .lib-layout-column(2, 1, @layout-column-checkout__width-main); | 664 | .lib-layout-column(2, 1, @layout-column-checkout__width-main); | |||
| 665 | border: 0; | 665 | border: 0; | |||
| 666 | box-sizing: border-box; | 666 | box-sizing: border-box; | |||
| 667 | padding-right: 4%; | 667 | padding-right: 4%; | |||
| 668 | } | 668 | } | |||
| 669 | 669 | |||||
| 670 | // Empty cart | 670 | // Empty cart | |||
| 671 | .cart-empty { | 671 | .cart-empty { | |||
| 672 | &:extend(.abs-revert-side-paddings all); | 672 | &:extend(.abs-revert-side-paddings all); | |||
| 673 | } | 673 | } | |||
| 674 | 674 | |||||
| 675 | // Cross sell | 675 | // Cross sell | |||
| 676 | .block { | 676 | .block { | |||
| 677 | &.crosssell { | 677 | &.crosssell { | |||
| 678 | .lib-layout-column(2, 1, @layout-column-checkout__width-main); | 678 | .lib-layout-column(2, 1, @layout-column-checkout__width-main); | |||
| 679 | &:extend(.abs-add-box-sizing-desktop all); | 679 | &:extend(.abs-add-box-sizing-desktop all); | |||
| 680 | padding: 0 4% 0 0; | 680 | padding: 0 4% 0 0; | |||
| 681 | .products-grid .product-item { | 681 | .products-grid .product-item { | |||
| 682 | width: 100%/4; | 682 | width: 100%/4; | |||
| 683 | } | 683 | } | |||
| 684 | } | 684 | } | |||
| 685 | } | 685 | } | |||
| 686 | } | 686 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993–2019 Araxis Ltd (www.araxis.com). All rights reserved.